package com.ysf.cn.springbootshrio.mapper;

import com.ysf.cn.springbootshrio.pojo.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionMapper {

    //根据用户的id查询权限字符
    List<Permission> selectPermissionBuyUserId(@Param("userId") Integer userId);

}
